package com.acegear.horizon.domain.models.jpa;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by wangsike on 2017/4/6.
 */
@Entity
public class UserEquip {

    @Id
    private Long equipId;

    @Column
    private Long userId;

    public UserEquip() {
    }

    public UserEquip(Long equipId, Long userId) {
        this.equipId = equipId;
        this.userId = userId;
    }

    public Long getEquipId() {
        return equipId;
    }

    public void setEquipId(Long equipId) {
        this.equipId = equipId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
